<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: extlang_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structextlang__t-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">extlang_t Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>External language (to support third party language interpreters) </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ab6a83577aedf218db38bf394224b9298"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6a83577aedf218db38bf394224b9298"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#ab6a83577aedf218db38bf394224b9298">size</a></td></tr>
<tr class="memdesc:ab6a83577aedf218db38bf394224b9298"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of this structure. <br /></td></tr>
<tr class="separator:ab6a83577aedf218db38bf394224b9298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a822bce7958ba24869f8d37ec7272139a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a822bce7958ba24869f8d37ec7272139a"></a>
<a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a822bce7958ba24869f8d37ec7272139a">flags</a></td></tr>
<tr class="memdesc:a822bce7958ba24869f8d37ec7272139a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Language features. <br /></td></tr>
<tr class="separator:a822bce7958ba24869f8d37ec7272139a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47dccc8e01f8f5dc0ed531c0807f8c87"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47dccc8e01f8f5dc0ed531c0807f8c87"></a>
<a class="el" href="pro_8h.html#a56f1a81c92849566ae864511088eb7e8">int32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a47dccc8e01f8f5dc0ed531c0807f8c87">refcnt</a></td></tr>
<tr class="memdesc:a47dccc8e01f8f5dc0ed531c0807f8c87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reference count. <br /></td></tr>
<tr class="separator:a47dccc8e01f8f5dc0ed531c0807f8c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7904d4ab597c2358f401342429f5d821"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7904d4ab597c2358f401342429f5d821"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a></td></tr>
<tr class="memdesc:a7904d4ab597c2358f401342429f5d821"><td class="mdescLeft">&#160;</td><td class="mdescRight">Language name. <br /></td></tr>
<tr class="separator:a7904d4ab597c2358f401342429f5d821"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60fc7e808bea09b4e01d143281b51309"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60fc7e808bea09b4e01d143281b51309"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a60fc7e808bea09b4e01d143281b51309">fileext</a></td></tr>
<tr class="memdesc:a60fc7e808bea09b4e01d143281b51309"><td class="mdescLeft">&#160;</td><td class="mdescRight">File name extension for the language. <br /></td></tr>
<tr class="separator:a60fc7e808bea09b4e01d143281b51309"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eaaf1a19c88360644117e42ebbd51f1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7eaaf1a19c88360644117e42ebbd51f1"></a>
<a class="el" href="structsyntax__highlighter__t.html">syntax_highlighter_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>highlighter</b></td></tr>
<tr class="separator:a7eaaf1a19c88360644117e42ebbd51f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0a48e0be9c79f61a32cf35968ff2f01"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#aa0a48e0be9c79f61a32cf35968ff2f01">compile_expr</a> )(const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> current_ea, const char *expr, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:aa0a48e0be9c79f61a32cf35968ff2f01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile an expression.  <a href="#aa0a48e0be9c79f61a32cf35968ff2f01">More...</a><br /></td></tr>
<tr class="separator:aa0a48e0be9c79f61a32cf35968ff2f01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4e09b473ce4186fbbb985545d8d9a97"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#ad4e09b473ce4186fbbb985545d8d9a97">compile_file</a> )(const char *file, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:ad4e09b473ce4186fbbb985545d8d9a97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile (load) a file.  <a href="#ad4e09b473ce4186fbbb985545d8d9a97">More...</a><br /></td></tr>
<tr class="separator:ad4e09b473ce4186fbbb985545d8d9a97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2075aceebcd646b67fa017a5131aa08"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#ab2075aceebcd646b67fa017a5131aa08">call_func</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, const <a class="el" href="classidc__value__t.html">idc_value_t</a> args[], size_t nargs, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:ab2075aceebcd646b67fa017a5131aa08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluate a previously compiled expression.  <a href="#ab2075aceebcd646b67fa017a5131aa08">More...</a><br /></td></tr>
<tr class="separator:ab2075aceebcd646b67fa017a5131aa08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ad91a372e99cd77cd1e6ebe3b18399d"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a4ad91a372e99cd77cd1e6ebe3b18399d">eval_expr</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *rv, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> current_ea, const char *expr, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:a4ad91a372e99cd77cd1e6ebe3b18399d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile and evaluate an expression.  <a href="#a4ad91a372e99cd77cd1e6ebe3b18399d">More...</a><br /></td></tr>
<tr class="separator:a4ad91a372e99cd77cd1e6ebe3b18399d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1308ddd7b14f4e552d9746dfeb0318a5"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a1308ddd7b14f4e552d9746dfeb0318a5">eval_snippet</a> )(const char *str, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:a1308ddd7b14f4e552d9746dfeb0318a5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile and execute a string with statements.  <a href="#a1308ddd7b14f4e552d9746dfeb0318a5">More...</a><br /></td></tr>
<tr class="separator:a1308ddd7b14f4e552d9746dfeb0318a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f9b442c33a5ed0b3efdf43b2258ce0"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#af6f9b442c33a5ed0b3efdf43b2258ce0">create_object</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, const <a class="el" href="classidc__value__t.html">idc_value_t</a> args[], size_t nargs, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:af6f9b442c33a5ed0b3efdf43b2258ce0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an object instance.  <a href="#af6f9b442c33a5ed0b3efdf43b2258ce0">More...</a><br /></td></tr>
<tr class="separator:af6f9b442c33a5ed0b3efdf43b2258ce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2440e21ff405faf58f1c0912bc3ab1d7"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a2440e21ff405faf58f1c0912bc3ab1d7">get_attr</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const <a class="el" href="classidc__value__t.html">idc_value_t</a> *obj, const char *attr)</td></tr>
<tr class="memdesc:a2440e21ff405faf58f1c0912bc3ab1d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the attribute value of a given object from the global scope.  <a href="#a2440e21ff405faf58f1c0912bc3ab1d7">More...</a><br /></td></tr>
<tr class="separator:a2440e21ff405faf58f1c0912bc3ab1d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69774d973331abf0d1dec4e7c64dc892"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a69774d973331abf0d1dec4e7c64dc892">set_attr</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *obj, const char *attr, const <a class="el" href="classidc__value__t.html">idc_value_t</a> &amp;value)</td></tr>
<tr class="memdesc:a69774d973331abf0d1dec4e7c64dc892"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the attribute value of a given object in the global scope.  <a href="#a69774d973331abf0d1dec4e7c64dc892">More...</a><br /></td></tr>
<tr class="separator:a69774d973331abf0d1dec4e7c64dc892"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab790534b728b1a4bb75e0c8fed7717e7"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#ab790534b728b1a4bb75e0c8fed7717e7">call_method</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const <a class="el" href="classidc__value__t.html">idc_value_t</a> *obj, const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, const <a class="el" href="classidc__value__t.html">idc_value_t</a> args[], size_t nargs, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:ab790534b728b1a4bb75e0c8fed7717e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calls a member function.  <a href="#ab790534b728b1a4bb75e0c8fed7717e7">More...</a><br /></td></tr>
<tr class="separator:ab790534b728b1a4bb75e0c8fed7717e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80a1afabb3eeed0b8e7148f1a725b766"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#a80a1afabb3eeed0b8e7148f1a725b766">load_procmod</a> )(<a class="el" href="classidc__value__t.html">idc_value_t</a> *procobj, const char *path, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:a80a1afabb3eeed0b8e7148f1a725b766"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compile (load) a file with processor module.  <a href="#a80a1afabb3eeed0b8e7148f1a725b766">More...</a><br /></td></tr>
<tr class="separator:a80a1afabb3eeed0b8e7148f1a725b766"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5df90638bac7f4ab1a45425a0186284"><td class="memItemLeft" align="right" valign="top">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structextlang__t.html#af5df90638bac7f4ab1a45425a0186284">unload_procmod</a> )(const char *path, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td></tr>
<tr class="memdesc:af5df90638bac7f4ab1a45425a0186284"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unload previously loaded processor module.  <a href="#af5df90638bac7f4ab1a45425a0186284">More...</a><br /></td></tr>
<tr class="separator:af5df90638bac7f4ab1a45425a0186284"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa921305a5cebcde4c92b6b620f98dbc2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa921305a5cebcde4c92b6b620f98dbc2"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_idc</b> (void) const </td></tr>
<tr class="separator:aa921305a5cebcde4c92b6b620f98dbc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6022b5da5c3bd214f1c5caaa210cca6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6022b5da5c3bd214f1c5caaa210cca6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>release</b> (void)</td></tr>
<tr class="separator:af6022b5da5c3bd214f1c5caaa210cca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aa0a48e0be9c79f61a32cf35968ff2f01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::compile_expr) (const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> current_ea, const char *expr, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compile an expression. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">name</td><td>name of the function which will hold the compiled expression </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">current_ea</td><td>current address. if unknown then <a class="el" href="pro_8h.html#a63a7c1cde5fb0cf0d0023d55c742dd4f" title="this value is used for &#39;bad address&#39; ">BADADDR</a> </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">expr</td><td>expression to compile </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message if compilation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ad4e09b473ce4186fbbb985545d8d9a97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::compile_file) (const char *file, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compile (load) a file. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">file</td><td>file name </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message if compilation fails </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab2075aceebcd646b67fa017a5131aa08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::call_func) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, const <a class="el" href="classidc__value__t.html">idc_value_t</a> args[], size_t nargs, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Evaluate a previously compiled expression. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>function result or exception </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">name</td><td>function to call </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">nargs</td><td>number of input arguments </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">args</td><td>input arguments </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message if evaluation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="a4ad91a372e99cd77cd1e6ebe3b18399d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::eval_expr) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *rv, <a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> current_ea, const char *expr, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compile and evaluate an expression. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">rv</td><td>expression value or exception </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">current_ea</td><td>current address. if unknown then BADADDR </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">expr</td><td>expression to evaluate </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message if evaluation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="a1308ddd7b14f4e552d9746dfeb0318a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::eval_snippet) (const char *str, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compile and execute a string with statements. </p>
<p>(see also: <a class="el" href="structextlang__t.html#a4ad91a372e99cd77cd1e6ebe3b18399d" title="Compile and evaluate an expression. ">eval_expr()</a> which works with expressions) </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">str</td><td>input string to execute </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="af6f9b442c33a5ed0b3efdf43b2258ce0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::create_object) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, const <a class="el" href="classidc__value__t.html">idc_value_t</a> args[], size_t nargs, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an object instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>created object or exception </td></tr>
    <tr><td class="paramname">name</td><td>object class name </td></tr>
    <tr><td class="paramname">args</td><td>input arguments </td></tr>
    <tr><td class="paramname">nargs</td><td>number of input arguments </td></tr>
    <tr><td class="paramname">errbuf</td><td>error message if evaluation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="a2440e21ff405faf58f1c0912bc3ab1d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::get_attr) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const <a class="el" href="classidc__value__t.html">idc_value_t</a> *obj, const char *attr)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the attribute value of a given object from the global scope. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>attribute value </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">obj</td><td>object (may be NULL) </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">attr</td><td>attribute name. if NULL or empty string then the object instance name (i.e. class name) should be returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="a69774d973331abf0d1dec4e7c64dc892"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::set_attr) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *obj, const char *attr, const <a class="el" href="classidc__value__t.html">idc_value_t</a> &amp;value)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the attribute value of a given object in the global scope. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>object (may be NULL) </td></tr>
    <tr><td class="paramname">attr</td><td>attribute name </td></tr>
    <tr><td class="paramname">value</td><td>attribute value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="ab790534b728b1a4bb75e0c8fed7717e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::call_method) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *result, const <a class="el" href="classidc__value__t.html">idc_value_t</a> *obj, const char *<a class="el" href="structextlang__t.html#a7904d4ab597c2358f401342429f5d821">name</a>, const <a class="el" href="classidc__value__t.html">idc_value_t</a> args[], size_t nargs, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calls a member function. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">result</td><td>function result or exception </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">obj</td><td>object instance </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">name</td><td>method name to call </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">args</td><td>input arguments </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">nargs</td><td>number of input arguments </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message if evaluation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<a class="anchor" id="a80a1afabb3eeed0b8e7148f1a725b766"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::load_procmod) (<a class="el" href="classidc__value__t.html">idc_value_t</a> *procobj, const char *path, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compile (load) a file with processor module. </p>
<p>If is absent then <a class="el" href="structextlang__t.html#ad4e09b473ce4186fbbb985545d8d9a97" title="Compile (load) a file. ">compile_file()</a> is used. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[out]</td><td class="paramname">procobj</td><td>created object or exception </td></tr>
    <tr><td class="paramdir"></td><td class="paramname">path</td><td>processor module file name </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuf</td><td>error message if compilation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>success </td></tr>
    <tr><td class="paramname">false</td><td>if errbuf is empty then file has been loaded (compiled) successfully but it doesn't contain processor module </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af5df90638bac7f4ab1a45425a0186284"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool(<a class="el" href="pro_8h.html#a6505e7ff3b129d8b17258304886fd133">idaapi</a> * extlang_t::unload_procmod) (const char *path, <a class="el" href="pro_8h.html#a386c10c6aa4340f1d63df85f40454fce">qstring</a> *errbuf)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unload previously loaded processor module. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir"></td><td class="paramname">path</td><td>processor module file name </td></tr>
    <tr><td class="paramdir">[out]</td><td class="paramname">errbuff</td><td>error message if compilation fails </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>success </dd></dl>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="expr_8hpp.html">expr.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
